﻿<controls:ChildWindow x:Class="VAdvantage.Widgets.Settings"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
			xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
           Width="250" Height="130" 
           Title="Settings" >
    <controls:ChildWindow.Resources>
        <Style x:Key="NormalText" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Verdana"/>
            <Setter Property="FontSize" Value="12"/>
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="Margin" Value="5,0,0,0"/>
        </Style>
    </controls:ChildWindow.Resources>
    <controls:ChildWindow.Background>
        <ImageBrush ImageSource="/VAdvantage;component/Images/background.png" AlignmentX="Left" AlignmentY="Top" Stretch="Fill" />
    </controls:ChildWindow.Background>
    <!--<controlsToolkit:BusyIndicator x:Name="busyIndicator" IsBusy="False" DisplayAfter="0" BusyContent="Loading...">-->
        <Grid x:Name="LayoutRoot" Margin="2">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <TextBlock x:Name="tbCountry" Style="{StaticResource NormalText}" Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Country : " Margin="0,2,0,0"/>
            <ComboBox x:Name="cmbCountry" Grid.Row="0" Width="170" Height="21" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="60,0,0,0" SelectionChanged="cmbCountry_SelectionChanged"/>
            <TextBlock x:Name="tbCity" Style="{StaticResource NormalText}" Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Top" Text="City : " Margin="0,32,0,0"/>
            <ComboBox x:Name="cmbCity" Grid.Row="0" Width="170" Height="21" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="60,30,0,0"/>
            <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,5,5" Grid.Row="1" />
            <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,93,5" Grid.Row="1" />
        </Grid>
    <!--</controlsToolkit:BusyIndicator>-->
</controls:ChildWindow>